package com.beordie.service;

import com.beordie.model.Driver;
import com.beordie.model.FormatDriver;

import java.util.List;

/**
 * @Classname IDriverService
 * @Description TODO
 * @Date 2021/7/13 19:50
 * @Created 30500
 */
public interface IDriverService {

    public List<FormatDriver> getAllDrivers();
    public List<FormatDriver> getAllByLimit(boolean isLimit, int start, int size);
    public int insert(Driver driver);
    public int deleteById(int id);
    public int updateById(Driver driver, int id);
    public FormatDriver findByNumName(String condition);
    public int getCount();
}
